package com.wanmait.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 投诉回访表
 */
@Data
@Accessors(chain = true)
@TableName(value = "complaint_follow")
public class ComplaintFollow {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 投诉事件id
     */
    @TableField(value = "complaint_id")
    private Integer complaintId;

    /**
     * 访问人id
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 回访人id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 回访形式
     */
    @TableField(value = "follow_type")
    private String followType;

    /**
     * 回访结果
     */
    @TableField(value = "follow_result")
    private String followResult;

    /**
     * 更新用户id
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 逻辑删除
     */
    @TableField(value = "`enable`")
    private Boolean enable;
}